Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split up cql query by source for current page export #962

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

malmgrens4
Copy link
Collaborator

@malmgrens4 malmgrens4 commented Jul 24, 2024

We were sending all the ids on the current page as the query. This would break when you had a large number of results from several sources (e.g. 2 remote sources with 250 results and your local source you end up with a query of 750 ids being federated)
This packages the requests by source so the most ids sent to any one source will be the max page size (250). The endpoint was made to handle this case we just weren't using it.


const searches = [
{
console.log(resultIdSourcePairs)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete

@jlcsmith
Copy link
Member

build now

@cxddfuibot
Copy link
Collaborator

Internal build has been started, your results will be available at build completion.

@cxddfuibot
Copy link
Collaborator

Build SUCCESS See the job results in legacy Jenkins UI or in Blue Ocean UI.

@jlcsmith jlcsmith merged commit 89a02a8 into codice:master Jul 24, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants